import http from '@/config/request/http'

export const login = (data: {account: string, pwd: string}) => {
  return http.post('user/login', data, {
    baseURL: 'user'
  })
}